<!--{include header}-->

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="credit">
	<div class="dashboard" id="dashboard">
		<ul>${current_account('/credit/index.php')}</ul>
	</div>
    <div id="content">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
                    <h2>Account remaining </h2>
                </div>
                <div class="sect">
					<p class="charge">Store to {$INI['system']['abbreviation']} account. <span>&raquo;</span> <a href="/credit/charge.php">Now go tstore</a></p>
					<h3 class="credit-title">Your current remaining is <strong>${moneyit($login_user['money'])}</strong> dollars </h3>
					<table id="order-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
						<tr><th width="120">Time</th><th width="auto">Info</th><th width="50">Finance</th><th width="70">Amount(dollars )</th></tr>
						<!--{loop $flows $index $one}-->
						<tr ${$index%2?'':'class="alt"'}><td style="text-align:left;">${date('Y-m-d H:i', $one['create_time'])}</td><td>{$option_flow[$one['action']]}&nbsp;-&nbsp;<!--{if $one['action']=='coupon'}-->{$INI['system']['couponname']}Coupon<!--{elseif $one['action']=='invite'}-->Friend:{$users[$one['detail_id']]['username']}<!--{elseif $one['action']=='buy'}--><a href="/team.php?id={$one['detail_id']}">{$teams[$one['detail_id']]['product']}</a><!--{elseif $one['action']=='refund'}--><a href="/team.php?id={$one['detail_id']}">{$teams[$one['detail_id']]['product']}</a><!--{elseif $one['action']=='charge'}-->Online store<!--{elseif $one['action']=='withdraw'}-->User Withdraw<!--{elseif $one['action']=='store'}-->Offline store<!--{/if}--></td><td class="{$one['direction']}">${$one['direction']=='income'?'Income':'Payout'}</td><td>${moneyit($one['money'])}</td></tr>
						<!--{/loop}-->
						<tr><td colspan="4">{$pagestring}</td></tr>
                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
    <div id="sidebar">
		<!--{include block_side_credit}-->
		<!--{include block_side_credittip}-->
    </div>
</div>

</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include footer}-->
